"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var vue_router_1 = require("vue-router");
var element_plus_1 = require("element-plus");
// 路由实例
var router = (0, vue_router_1.useRouter)();
// 状态管理
var loading = (0, vue_1.ref)(false);
var currentPage = (0, vue_1.ref)(1);
var pageSize = (0, vue_1.ref)(10);
var totalRecords = (0, vue_1.ref)(0);
var totalPages = (0, vue_1.ref)(0);
var addDialogVisible = (0, vue_1.ref)(false);
var isEdit = (0, vue_1.ref)(false);
// 查询表单数据
var searchForm = (0, vue_1.reactive)({
    recordTime: '',
    orderNo: '',
    lossPerson: '',
    warehouse: '',
    productName: '',
    description: ''
});
// 新增表单数据
var addForm = (0, vue_1.reactive)({
    recordTime: '',
    orderNo: '',
    lossPerson: '',
    warehouse: '',
    productName: '',
    productNo: '',
    brand: '',
    spec: '',
    type: '',
    retailPrice: '',
    discount: '',
    discountPrice: '',
    specialPrice: '',
    seckillPrice: '',
    inStockDate: '',
    stock: 0,
    inventoryQuantity: 0,
    lossQuantity: 0,
    description: '',
    status: '已报损'
});
// 表单验证规则
var addFormRules = {
    recordTime: [{ required: true, message: '请选择录单时间', trigger: 'blur' }],
    orderNo: [{ required: true, message: '请输入单据编号', trigger: 'blur' }],
    lossPerson: [{ required: true, message: '请输入报损人', trigger: 'blur' }],
    warehouse: [{ required: true, message: '请选择报损仓库', trigger: 'blur' }],
    productName: [{ required: true, message: '请选择产品名称', trigger: 'blur' }],
    productNo: [{ required: true, message: '请输入产品编号', trigger: 'blur' }],
    brand: [{ required: true, message: '请输入归属品牌', trigger: 'blur' }],
    spec: [{ required: true, message: '请输入规格', trigger: 'blur' }],
    type: [{ required: true, message: '请输入类型', trigger: 'blur' }],
    retailPrice: [{ required: true, message: '请输入零售价', trigger: 'blur' }],
    lossQuantity: [{ required: true, message: '请输入报损数量', trigger: 'blur' }]
};
// 仓库下拉选项
var warehouseOptions = [
    { label: '1号仓库', value: '1号' },
    { label: '2号仓库', value: '2号' },
    { label: '3号仓库', value: '3号' },
    { label: '4号仓库', value: '4号' }
];
// 产品下拉选项
var productOptions = [
    { label: '丝芙兰精华眼霜', value: '丝芙兰精华眼霜' },
    { label: '兰蔻精华眼霜', value: '兰蔻精华眼霜' },
    { label: '雅诗兰黛小棕瓶', value: '雅诗兰黛小棕瓶' }
];
// 报损单数据
var lossOrderList = (0, vue_1.reactive)([
    {
        index: 1,
        lossTime: '2022.10.02',
        orderNo: 'mcc01',
        productName: '丝芙兰精华眼霜',
        productNo: 'mcc01',
        brand: '丝芙兰',
        spec: '10ml',
        type: '套盒',
        retailPrice: '¥93.88',
        discount: '单品2.1 套盒3.9',
        discountPrice: '¥111.62',
        specialPrice: '¥93.88',
        seckillPrice: '¥91.88',
        inStockDate: '2022.8.29',
        warehouse: '1号',
        stock: 65,
        inventoryQuantity: 202,
        lossQuantity: 1,
        status: '已报损'
    },
    {
        index: 2,
        lossTime: '2022.10.02',
        orderNo: 'mcc01',
        productName: '丝芙兰精华眼霜',
        productNo: 'mcc01',
        brand: '丝芙兰',
        spec: '10ml',
        type: '套盒',
        retailPrice: '¥93.88',
        discount: '单品2.1 套盒3.9',
        discountPrice: '¥111.62',
        specialPrice: '¥93.88',
        seckillPrice: '¥91.88',
        inStockDate: '2022.8.29',
        warehouse: '1号',
        stock: 65,
        inventoryQuantity: 202,
        lossQuantity: 2,
        status: '已报损'
    },
    {
        index: 3,
        lossTime: '2022.10.04',
        orderNo: 'mcc01',
        productName: '兰蔻精华眼霜',
        productNo: 'mcc03',
        brand: '兰蔻',
        spec: '10ml',
        type: '套盒',
        retailPrice: '¥93.88',
        discount: '单品2.1 套盒3.9',
        discountPrice: '¥111.62',
        specialPrice: '¥93.88',
        seckillPrice: '¥91.88',
        inStockDate: '2022.8.29',
        warehouse: '1号',
        stock: 65,
        inventoryQuantity: 202,
        lossQuantity: 3,
        status: '已报损'
    }
]);
// 过滤后的报损单（分页）
var filteredLossOrder = (0, vue_1.computed)(function () {
    // 这里可以添加搜索过滤逻辑，当前示例仅做分页
    totalRecords.value = lossOrderList.length;
    totalPages.value = Math.ceil(totalRecords.value / pageSize.value);
    var startIndex = (currentPage.value - 1) * pageSize.value;
    return lossOrderList.slice(startIndex, startIndex + pageSize.value);
});
// 生命周期：初始化
(0, vue_1.onMounted)(function () {
    // 模拟加载数据
    loading.value = true;
    setTimeout(function () {
        loading.value = false;
    }, 500);
});
// 分页事件
var handleSizeChange = function (val) {
    pageSize.value = val;
    currentPage.value = 1; // 重置到第一页
};
var handleCurrentChange = function (val) {
    currentPage.value = val;
};
// 查询事件
var handleSearch = function () {
    // 这里可以添加实际的搜索逻辑，如接口请求
    element_plus_1.ElMessage.info('查询功能已触发，可根据条件筛选报损单');
    currentPage.value = 1; // 搜索后重置到第一页
};
// 返回事件
var handleBack = function () {
    router.back();
};
// 新增报损单
var handleAddLossOrder = function () {
    isEdit.value = false;
    // 重置表单
    Object.assign(addForm, {
        recordTime: '',
        orderNo: '',
        lossPerson: '',
        warehouse: '',
        productName: '',
        productNo: '',
        brand: '',
        spec: '',
        type: '',
        retailPrice: '',
        discount: '',
        discountPrice: '',
        specialPrice: '',
        seckillPrice: '',
        inStockDate: '',
        stock: 0,
        inventoryQuantity: 0,
        lossQuantity: 0,
        description: '',
        status: '已报损'
    });
    addDialogVisible.value = true;
};
// 保存报损单
var handleSaveLossOrder = function () {
    var addFormRef = (0, vue_1.getCurrentInstance)().refs.addFormRef;
    addFormRef.validate(function (valid) {
        if (valid) {
            loading.value = true;
            setTimeout(function () {
                // 模拟新增逻辑
                var newId = lossOrderList.length + 1;
                var newOrder = __assign(__assign({}, addForm), { index: newId, lossTime: new Date().toISOString().split('T')[0].replace(/-/g, '.'), status: '已报损' });
                lossOrderList.unshift(newOrder);
                addDialogVisible.value = false;
                loading.value = false;
                element_plus_1.ElMessage.success('报损单已新增');
            }, 500);
        }
    });
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-form']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "loss-order-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onClick': {} }, { type: "text" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBack) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleBack,];
var __VLS_3;
var __VLS_8 = {}.ElForm;
/** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
// @ts-ignore
ElForm;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign({ model: (__VLS_ctx.searchForm), ref: "searchFormRef", labelWidth: "80px" }, { class: "search-form" })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign({ model: (__VLS_ctx.searchForm), ref: "searchFormRef", labelWidth: "80px" }, { class: "search-form" })], __VLS_functionalComponentArgsRest(__VLS_9), false));
/** @type {typeof __VLS_ctx.searchFormRef} */ ;
var __VLS_12 = {};
var __VLS_14 = __VLS_11.slots.default;
// @ts-ignore
[searchForm, searchFormRef,];
var __VLS_15 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({
    gutter: (20),
}));
var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_16), false));
var __VLS_19 = __VLS_18.slots.default;
var __VLS_20 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
    span: (6),
}));
var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_21), false));
var __VLS_24 = __VLS_23.slots.default;
var __VLS_25 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({
    label: "录单时间",
}));
var __VLS_27 = __VLS_26.apply(void 0, __spreadArray([{
        label: "录单时间",
    }], __VLS_functionalComponentArgsRest(__VLS_26), false));
var __VLS_29 = __VLS_28.slots.default;
var __VLS_30 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30(__assign({ modelValue: (__VLS_ctx.searchForm.recordTime), type: "date", placeholder: "选择录单时间" }, { style: {} })));
var __VLS_32 = __VLS_31.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.searchForm.recordTime), type: "date", placeholder: "选择录单时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_31), false));
// @ts-ignore
[searchForm,];
var __VLS_28;
var __VLS_23;
var __VLS_35 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35({
    span: (6),
}));
var __VLS_37 = __VLS_36.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_36), false));
var __VLS_39 = __VLS_38.slots.default;
var __VLS_40 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_41 = __VLS_asFunctionalComponent(__VLS_40, new __VLS_40({
    label: "单据编号",
}));
var __VLS_42 = __VLS_41.apply(void 0, __spreadArray([{
        label: "单据编号",
    }], __VLS_functionalComponentArgsRest(__VLS_41), false));
var __VLS_44 = __VLS_43.slots.default;
var __VLS_45 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_46 = __VLS_asFunctionalComponent(__VLS_45, new __VLS_45({
    modelValue: (__VLS_ctx.searchForm.orderNo),
    placeholder: "输入单据编号",
}));
var __VLS_47 = __VLS_46.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.orderNo),
        placeholder: "输入单据编号",
    }], __VLS_functionalComponentArgsRest(__VLS_46), false));
// @ts-ignore
[searchForm,];
var __VLS_43;
var __VLS_38;
var __VLS_50 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_51 = __VLS_asFunctionalComponent(__VLS_50, new __VLS_50({
    span: (6),
}));
var __VLS_52 = __VLS_51.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_51), false));
var __VLS_54 = __VLS_53.slots.default;
var __VLS_55 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
    label: "报损人",
}));
var __VLS_57 = __VLS_56.apply(void 0, __spreadArray([{
        label: "报损人",
    }], __VLS_functionalComponentArgsRest(__VLS_56), false));
var __VLS_59 = __VLS_58.slots.default;
var __VLS_60 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
    modelValue: (__VLS_ctx.searchForm.lossPerson),
    placeholder: "输入报损人",
}));
var __VLS_62 = __VLS_61.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.lossPerson),
        placeholder: "输入报损人",
    }], __VLS_functionalComponentArgsRest(__VLS_61), false));
// @ts-ignore
[searchForm,];
var __VLS_58;
var __VLS_53;
var __VLS_18;
var __VLS_65 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_66 = __VLS_asFunctionalComponent(__VLS_65, new __VLS_65({
    gutter: (20),
}));
var __VLS_67 = __VLS_66.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_66), false));
var __VLS_69 = __VLS_68.slots.default;
var __VLS_70 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
    span: (6),
}));
var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_71), false));
var __VLS_74 = __VLS_73.slots.default;
var __VLS_75 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
    label: "报损仓库",
}));
var __VLS_77 = __VLS_76.apply(void 0, __spreadArray([{
        label: "报损仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_76), false));
var __VLS_79 = __VLS_78.slots.default;
var __VLS_80 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_81 = __VLS_asFunctionalComponent(__VLS_80, new __VLS_80({
    modelValue: (__VLS_ctx.searchForm.warehouse),
    placeholder: "选择报损仓库",
    clearable: true,
}));
var __VLS_82 = __VLS_81.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.warehouse),
        placeholder: "选择报损仓库",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_81), false));
var __VLS_84 = __VLS_83.slots.default;
// @ts-ignore
[searchForm,];
for (var _i = 0, _a = __VLS_getVForSourceType((__VLS_ctx.warehouseOptions)); _i < _a.length; _i++) {
    var item = _a[_i][0];
    // @ts-ignore
    [warehouseOptions,];
    var __VLS_85 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_86 = __VLS_asFunctionalComponent(__VLS_85, new __VLS_85({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_87 = __VLS_86.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_86), false));
}
var __VLS_83;
var __VLS_78;
var __VLS_73;
var __VLS_90 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_91 = __VLS_asFunctionalComponent(__VLS_90, new __VLS_90({
    span: (6),
}));
var __VLS_92 = __VLS_91.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_91), false));
var __VLS_94 = __VLS_93.slots.default;
var __VLS_95 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_96 = __VLS_asFunctionalComponent(__VLS_95, new __VLS_95({
    label: "产品名称",
}));
var __VLS_97 = __VLS_96.apply(void 0, __spreadArray([{
        label: "产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_96), false));
var __VLS_99 = __VLS_98.slots.default;
var __VLS_100 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100({
    modelValue: (__VLS_ctx.searchForm.productName),
    placeholder: "输入产品名称",
}));
var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.productName),
        placeholder: "输入产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_101), false));
// @ts-ignore
[searchForm,];
var __VLS_98;
var __VLS_93;
var __VLS_105 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_106 = __VLS_asFunctionalComponent(__VLS_105, new __VLS_105({
    span: (6),
}));
var __VLS_107 = __VLS_106.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_106), false));
var __VLS_109 = __VLS_108.slots.default;
var __VLS_110 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110({
    label: "附加说明",
}));
var __VLS_112 = __VLS_111.apply(void 0, __spreadArray([{
        label: "附加说明",
    }], __VLS_functionalComponentArgsRest(__VLS_111), false));
var __VLS_114 = __VLS_113.slots.default;
var __VLS_115 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115({
    modelValue: (__VLS_ctx.searchForm.description),
    placeholder: "输入附加说明",
}));
var __VLS_117 = __VLS_116.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.description),
        placeholder: "输入附加说明",
    }], __VLS_functionalComponentArgsRest(__VLS_116), false));
// @ts-ignore
[searchForm,];
var __VLS_113;
var __VLS_108;
var __VLS_120 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_121 = __VLS_asFunctionalComponent(__VLS_120, new __VLS_120({
    span: (4),
}));
var __VLS_122 = __VLS_121.apply(void 0, __spreadArray([{
        span: (4),
    }], __VLS_functionalComponentArgsRest(__VLS_121), false));
var __VLS_124 = __VLS_123.slots.default;
var __VLS_125 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125({}));
var __VLS_127 = __VLS_126.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_126), false));
var __VLS_129 = __VLS_128.slots.default;
var __VLS_130 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_131 = __VLS_asFunctionalComponent(__VLS_130, new __VLS_130(__assign({ 'onClick': {} }, { type: "primary" })));
var __VLS_132 = __VLS_131.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_131), false));
var __VLS_134;
var __VLS_135;
var __VLS_136 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_137 = __VLS_133.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_133;
var __VLS_128;
var __VLS_123;
var __VLS_68;
var __VLS_11;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "action-buttons" }));
var __VLS_138 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_139 = __VLS_asFunctionalComponent(__VLS_138, new __VLS_138(__assign({ 'onClick': {} }, { type: "primary" })));
var __VLS_140 = __VLS_139.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_139), false));
var __VLS_142;
var __VLS_143;
var __VLS_144 = ({ click: {} },
    { onClick: (__VLS_ctx.handleAddLossOrder) });
var __VLS_145 = __VLS_141.slots.default;
// @ts-ignore
[handleAddLossOrder,];
var __VLS_141;
var __VLS_146 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_147 = __VLS_asFunctionalComponent(__VLS_146, new __VLS_146(__assign({ data: (__VLS_ctx.lossOrderList), border: true, stripe: true }, { class: "order-table" })));
var __VLS_148 = __VLS_147.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.lossOrderList), border: true, stripe: true }, { class: "order-table" })], __VLS_functionalComponentArgsRest(__VLS_147), false));
__VLS_asFunctionalDirective(__VLS_directives.vLoading)(null, __assign(__assign({}, __VLS_directiveBindingRestFields), { value: (__VLS_ctx.loading) }), null, null);
var __VLS_150 = __VLS_149.slots.default;
// @ts-ignore
[lossOrderList, vLoading, loading,];
var __VLS_151 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_152 = __VLS_asFunctionalComponent(__VLS_151, new __VLS_151({
    prop: "index",
    label: "序号",
    width: "50",
}));
var __VLS_153 = __VLS_152.apply(void 0, __spreadArray([{
        prop: "index",
        label: "序号",
        width: "50",
    }], __VLS_functionalComponentArgsRest(__VLS_152), false));
var __VLS_156 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_157 = __VLS_asFunctionalComponent(__VLS_156, new __VLS_156({
    prop: "lossTime",
    label: "报损时间",
    sortable: true,
}));
var __VLS_158 = __VLS_157.apply(void 0, __spreadArray([{
        prop: "lossTime",
        label: "报损时间",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_157), false));
var __VLS_161 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_162 = __VLS_asFunctionalComponent(__VLS_161, new __VLS_161({
    prop: "orderNo",
    label: "报损编号",
}));
var __VLS_163 = __VLS_162.apply(void 0, __spreadArray([{
        prop: "orderNo",
        label: "报损编号",
    }], __VLS_functionalComponentArgsRest(__VLS_162), false));
var __VLS_166 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_167 = __VLS_asFunctionalComponent(__VLS_166, new __VLS_166({
    prop: "productName",
    label: "产品名称",
}));
var __VLS_168 = __VLS_167.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_167), false));
var __VLS_171 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_172 = __VLS_asFunctionalComponent(__VLS_171, new __VLS_171({
    prop: "productNo",
    label: "产品编号",
}));
var __VLS_173 = __VLS_172.apply(void 0, __spreadArray([{
        prop: "productNo",
        label: "产品编号",
    }], __VLS_functionalComponentArgsRest(__VLS_172), false));
var __VLS_176 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_177 = __VLS_asFunctionalComponent(__VLS_176, new __VLS_176({
    prop: "brand",
    label: "归属品牌",
}));
var __VLS_178 = __VLS_177.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "归属品牌",
    }], __VLS_functionalComponentArgsRest(__VLS_177), false));
var __VLS_181 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_182 = __VLS_asFunctionalComponent(__VLS_181, new __VLS_181({
    prop: "spec",
    label: "规格",
}));
var __VLS_183 = __VLS_182.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
    }], __VLS_functionalComponentArgsRest(__VLS_182), false));
var __VLS_186 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_187 = __VLS_asFunctionalComponent(__VLS_186, new __VLS_186({
    prop: "type",
    label: "类型",
}));
var __VLS_188 = __VLS_187.apply(void 0, __spreadArray([{
        prop: "type",
        label: "类型",
    }], __VLS_functionalComponentArgsRest(__VLS_187), false));
var __VLS_191 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_192 = __VLS_asFunctionalComponent(__VLS_191, new __VLS_191({
    prop: "retailPrice",
    label: "零售价",
}));
var __VLS_193 = __VLS_192.apply(void 0, __spreadArray([{
        prop: "retailPrice",
        label: "零售价",
    }], __VLS_functionalComponentArgsRest(__VLS_192), false));
var __VLS_196 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_197 = __VLS_asFunctionalComponent(__VLS_196, new __VLS_196({
    prop: "discount",
    label: "折扣",
}));
var __VLS_198 = __VLS_197.apply(void 0, __spreadArray([{
        prop: "discount",
        label: "折扣",
    }], __VLS_functionalComponentArgsRest(__VLS_197), false));
var __VLS_201 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_202 = __VLS_asFunctionalComponent(__VLS_201, new __VLS_201({
    prop: "discountPrice",
    label: "折扣价",
}));
var __VLS_203 = __VLS_202.apply(void 0, __spreadArray([{
        prop: "discountPrice",
        label: "折扣价",
    }], __VLS_functionalComponentArgsRest(__VLS_202), false));
var __VLS_206 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_207 = __VLS_asFunctionalComponent(__VLS_206, new __VLS_206({
    prop: "specialPrice",
    label: "特价",
}));
var __VLS_208 = __VLS_207.apply(void 0, __spreadArray([{
        prop: "specialPrice",
        label: "特价",
    }], __VLS_functionalComponentArgsRest(__VLS_207), false));
var __VLS_211 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_212 = __VLS_asFunctionalComponent(__VLS_211, new __VLS_211({
    prop: "seckillPrice",
    label: "秒杀价",
}));
var __VLS_213 = __VLS_212.apply(void 0, __spreadArray([{
        prop: "seckillPrice",
        label: "秒杀价",
    }], __VLS_functionalComponentArgsRest(__VLS_212), false));
var __VLS_216 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_217 = __VLS_asFunctionalComponent(__VLS_216, new __VLS_216({
    prop: "inStockDate",
    label: "入库时间",
}));
var __VLS_218 = __VLS_217.apply(void 0, __spreadArray([{
        prop: "inStockDate",
        label: "入库时间",
    }], __VLS_functionalComponentArgsRest(__VLS_217), false));
var __VLS_221 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_222 = __VLS_asFunctionalComponent(__VLS_221, new __VLS_221({
    prop: "warehouse",
    label: "仓库",
}));
var __VLS_223 = __VLS_222.apply(void 0, __spreadArray([{
        prop: "warehouse",
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_222), false));
var __VLS_226 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_227 = __VLS_asFunctionalComponent(__VLS_226, new __VLS_226({
    prop: "stock",
    label: "库存",
}));
var __VLS_228 = __VLS_227.apply(void 0, __spreadArray([{
        prop: "stock",
        label: "库存",
    }], __VLS_functionalComponentArgsRest(__VLS_227), false));
var __VLS_231 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_232 = __VLS_asFunctionalComponent(__VLS_231, new __VLS_231({
    prop: "inventoryQuantity",
    label: "盘点数量",
}));
var __VLS_233 = __VLS_232.apply(void 0, __spreadArray([{
        prop: "inventoryQuantity",
        label: "盘点数量",
    }], __VLS_functionalComponentArgsRest(__VLS_232), false));
var __VLS_236 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_237 = __VLS_asFunctionalComponent(__VLS_236, new __VLS_236({
    prop: "lossQuantity",
    label: "报损数量",
}));
var __VLS_238 = __VLS_237.apply(void 0, __spreadArray([{
        prop: "lossQuantity",
        label: "报损数量",
    }], __VLS_functionalComponentArgsRest(__VLS_237), false));
var __VLS_241 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_242 = __VLS_asFunctionalComponent(__VLS_241, new __VLS_241({
    prop: "status",
    label: "状态",
}));
var __VLS_243 = __VLS_242.apply(void 0, __spreadArray([{
        prop: "status",
        label: "状态",
    }], __VLS_functionalComponentArgsRest(__VLS_242), false));
var __VLS_245 = __VLS_244.slots.default;
{
    var __VLS_246 = __VLS_244.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_246)[0];
    var __VLS_247 = {}.ElTag;
    /** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
    // @ts-ignore
    ElTag;
    // @ts-ignore
    var __VLS_248 = __VLS_asFunctionalComponent(__VLS_247, new __VLS_247({
        type: "danger",
    }));
    var __VLS_249 = __VLS_248.apply(void 0, __spreadArray([{
            type: "danger",
        }], __VLS_functionalComponentArgsRest(__VLS_248), false));
    var __VLS_251 = __VLS_250.slots.default;
    (scope.row.status);
    var __VLS_250;
}
var __VLS_244;
var __VLS_149;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination" }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "total-info" }));
(__VLS_ctx.totalRecords);
(__VLS_ctx.totalPages);
// @ts-ignore
[totalRecords, totalPages,];
var __VLS_252 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_253 = __VLS_asFunctionalComponent(__VLS_252, new __VLS_252(__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalRecords), layout: "prev, pager, next, jumper, sizes" })));
var __VLS_254 = __VLS_253.apply(void 0, __spreadArray([__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalRecords), layout: "prev, pager, next, jumper, sizes" })], __VLS_functionalComponentArgsRest(__VLS_253), false));
var __VLS_256;
var __VLS_257;
var __VLS_258 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
var __VLS_259 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
// @ts-ignore
[totalRecords, currentPage, pageSize, handleSizeChange, handleCurrentChange,];
var __VLS_255;
var __VLS_261 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_262 = __VLS_asFunctionalComponent(__VLS_261, new __VLS_261({
    modelValue: (__VLS_ctx.addDialogVisible),
    title: "新增报损单",
    width: "800px",
}));
var __VLS_263 = __VLS_262.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addDialogVisible),
        title: "新增报损单",
        width: "800px",
    }], __VLS_functionalComponentArgsRest(__VLS_262), false));
var __VLS_265 = __VLS_264.slots.default;
// @ts-ignore
[addDialogVisible,];
var __VLS_266 = {}.ElForm;
/** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
// @ts-ignore
ElForm;
// @ts-ignore
var __VLS_267 = __VLS_asFunctionalComponent(__VLS_266, new __VLS_266(__assign({ model: (__VLS_ctx.addForm), ref: "addFormRef", rules: (__VLS_ctx.addFormRules), labelWidth: "120px" }, { class: "add-form" })));
var __VLS_268 = __VLS_267.apply(void 0, __spreadArray([__assign({ model: (__VLS_ctx.addForm), ref: "addFormRef", rules: (__VLS_ctx.addFormRules), labelWidth: "120px" }, { class: "add-form" })], __VLS_functionalComponentArgsRest(__VLS_267), false));
/** @type {typeof __VLS_ctx.addFormRef} */ ;
var __VLS_270 = {};
var __VLS_272 = __VLS_269.slots.default;
// @ts-ignore
[addForm, addFormRules, addFormRef,];
var __VLS_273 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_274 = __VLS_asFunctionalComponent(__VLS_273, new __VLS_273({
    gutter: (20),
}));
var __VLS_275 = __VLS_274.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_274), false));
var __VLS_277 = __VLS_276.slots.default;
var __VLS_278 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_279 = __VLS_asFunctionalComponent(__VLS_278, new __VLS_278({
    span: (12),
}));
var __VLS_280 = __VLS_279.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_279), false));
var __VLS_282 = __VLS_281.slots.default;
var __VLS_283 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_284 = __VLS_asFunctionalComponent(__VLS_283, new __VLS_283({
    label: "录单时间",
    prop: "recordTime",
}));
var __VLS_285 = __VLS_284.apply(void 0, __spreadArray([{
        label: "录单时间",
        prop: "recordTime",
    }], __VLS_functionalComponentArgsRest(__VLS_284), false));
var __VLS_287 = __VLS_286.slots.default;
var __VLS_288 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_289 = __VLS_asFunctionalComponent(__VLS_288, new __VLS_288(__assign(__assign({ modelValue: (__VLS_ctx.addForm.recordTime), type: "date", placeholder: "选择录单时间" }, { style: {} }), { disabled: (__VLS_ctx.isEdit) })));
var __VLS_290 = __VLS_289.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.addForm.recordTime), type: "date", placeholder: "选择录单时间" }, { style: {} }), { disabled: (__VLS_ctx.isEdit) })], __VLS_functionalComponentArgsRest(__VLS_289), false));
// @ts-ignore
[addForm, isEdit,];
var __VLS_286;
var __VLS_281;
var __VLS_293 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_294 = __VLS_asFunctionalComponent(__VLS_293, new __VLS_293({
    span: (12),
}));
var __VLS_295 = __VLS_294.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_294), false));
var __VLS_297 = __VLS_296.slots.default;
var __VLS_298 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_299 = __VLS_asFunctionalComponent(__VLS_298, new __VLS_298({
    label: "单据编号",
    prop: "orderNo",
}));
var __VLS_300 = __VLS_299.apply(void 0, __spreadArray([{
        label: "单据编号",
        prop: "orderNo",
    }], __VLS_functionalComponentArgsRest(__VLS_299), false));
var __VLS_302 = __VLS_301.slots.default;
var __VLS_303 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_304 = __VLS_asFunctionalComponent(__VLS_303, new __VLS_303({
    modelValue: (__VLS_ctx.addForm.orderNo),
    placeholder: "输入单据编号",
    disabled: (__VLS_ctx.isEdit),
}));
var __VLS_305 = __VLS_304.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.orderNo),
        placeholder: "输入单据编号",
        disabled: (__VLS_ctx.isEdit),
    }], __VLS_functionalComponentArgsRest(__VLS_304), false));
// @ts-ignore
[addForm, isEdit,];
var __VLS_301;
var __VLS_296;
var __VLS_276;
var __VLS_308 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_309 = __VLS_asFunctionalComponent(__VLS_308, new __VLS_308({
    gutter: (20),
}));
var __VLS_310 = __VLS_309.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_309), false));
var __VLS_312 = __VLS_311.slots.default;
var __VLS_313 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_314 = __VLS_asFunctionalComponent(__VLS_313, new __VLS_313({
    span: (12),
}));
var __VLS_315 = __VLS_314.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_314), false));
var __VLS_317 = __VLS_316.slots.default;
var __VLS_318 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_319 = __VLS_asFunctionalComponent(__VLS_318, new __VLS_318({
    label: "报损人",
    prop: "lossPerson",
}));
var __VLS_320 = __VLS_319.apply(void 0, __spreadArray([{
        label: "报损人",
        prop: "lossPerson",
    }], __VLS_functionalComponentArgsRest(__VLS_319), false));
var __VLS_322 = __VLS_321.slots.default;
var __VLS_323 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_324 = __VLS_asFunctionalComponent(__VLS_323, new __VLS_323({
    modelValue: (__VLS_ctx.addForm.lossPerson),
    placeholder: "输入报损人",
}));
var __VLS_325 = __VLS_324.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.lossPerson),
        placeholder: "输入报损人",
    }], __VLS_functionalComponentArgsRest(__VLS_324), false));
// @ts-ignore
[addForm,];
var __VLS_321;
var __VLS_316;
var __VLS_328 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_329 = __VLS_asFunctionalComponent(__VLS_328, new __VLS_328({
    span: (12),
}));
var __VLS_330 = __VLS_329.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_329), false));
var __VLS_332 = __VLS_331.slots.default;
var __VLS_333 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_334 = __VLS_asFunctionalComponent(__VLS_333, new __VLS_333({
    label: "报损仓库",
    prop: "warehouse",
}));
var __VLS_335 = __VLS_334.apply(void 0, __spreadArray([{
        label: "报损仓库",
        prop: "warehouse",
    }], __VLS_functionalComponentArgsRest(__VLS_334), false));
var __VLS_337 = __VLS_336.slots.default;
var __VLS_338 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_339 = __VLS_asFunctionalComponent(__VLS_338, new __VLS_338({
    modelValue: (__VLS_ctx.addForm.warehouse),
    placeholder: "选择报损仓库",
    clearable: true,
}));
var __VLS_340 = __VLS_339.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.warehouse),
        placeholder: "选择报损仓库",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_339), false));
var __VLS_342 = __VLS_341.slots.default;
// @ts-ignore
[addForm,];
for (var _b = 0, _c = __VLS_getVForSourceType((__VLS_ctx.warehouseOptions)); _b < _c.length; _b++) {
    var item = _c[_b][0];
    // @ts-ignore
    [warehouseOptions,];
    var __VLS_343 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_344 = __VLS_asFunctionalComponent(__VLS_343, new __VLS_343({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_345 = __VLS_344.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_344), false));
}
var __VLS_341;
var __VLS_336;
var __VLS_331;
var __VLS_311;
var __VLS_348 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_349 = __VLS_asFunctionalComponent(__VLS_348, new __VLS_348({
    gutter: (20),
}));
var __VLS_350 = __VLS_349.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_349), false));
var __VLS_352 = __VLS_351.slots.default;
var __VLS_353 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_354 = __VLS_asFunctionalComponent(__VLS_353, new __VLS_353({
    span: (12),
}));
var __VLS_355 = __VLS_354.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_354), false));
var __VLS_357 = __VLS_356.slots.default;
var __VLS_358 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_359 = __VLS_asFunctionalComponent(__VLS_358, new __VLS_358({
    label: "产品名称",
    prop: "productName",
}));
var __VLS_360 = __VLS_359.apply(void 0, __spreadArray([{
        label: "产品名称",
        prop: "productName",
    }], __VLS_functionalComponentArgsRest(__VLS_359), false));
var __VLS_362 = __VLS_361.slots.default;
var __VLS_363 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_364 = __VLS_asFunctionalComponent(__VLS_363, new __VLS_363({
    modelValue: (__VLS_ctx.addForm.productName),
    placeholder: "选择产品名称",
    clearable: true,
}));
var __VLS_365 = __VLS_364.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.productName),
        placeholder: "选择产品名称",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_364), false));
var __VLS_367 = __VLS_366.slots.default;
// @ts-ignore
[addForm,];
for (var _d = 0, _e = __VLS_getVForSourceType((__VLS_ctx.productOptions)); _d < _e.length; _d++) {
    var item = _e[_d][0];
    // @ts-ignore
    [productOptions,];
    var __VLS_368 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_369 = __VLS_asFunctionalComponent(__VLS_368, new __VLS_368({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_370 = __VLS_369.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_369), false));
}
var __VLS_366;
var __VLS_361;
var __VLS_356;
var __VLS_373 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_374 = __VLS_asFunctionalComponent(__VLS_373, new __VLS_373({
    span: (12),
}));
var __VLS_375 = __VLS_374.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_374), false));
var __VLS_377 = __VLS_376.slots.default;
var __VLS_378 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_379 = __VLS_asFunctionalComponent(__VLS_378, new __VLS_378({
    label: "产品编号",
    prop: "productNo",
}));
var __VLS_380 = __VLS_379.apply(void 0, __spreadArray([{
        label: "产品编号",
        prop: "productNo",
    }], __VLS_functionalComponentArgsRest(__VLS_379), false));
var __VLS_382 = __VLS_381.slots.default;
var __VLS_383 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_384 = __VLS_asFunctionalComponent(__VLS_383, new __VLS_383({
    modelValue: (__VLS_ctx.addForm.productNo),
    placeholder: "输入产品编号",
}));
var __VLS_385 = __VLS_384.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.productNo),
        placeholder: "输入产品编号",
    }], __VLS_functionalComponentArgsRest(__VLS_384), false));
// @ts-ignore
[addForm,];
var __VLS_381;
var __VLS_376;
var __VLS_351;
var __VLS_388 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_389 = __VLS_asFunctionalComponent(__VLS_388, new __VLS_388({
    gutter: (20),
}));
var __VLS_390 = __VLS_389.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_389), false));
var __VLS_392 = __VLS_391.slots.default;
var __VLS_393 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_394 = __VLS_asFunctionalComponent(__VLS_393, new __VLS_393({
    span: (12),
}));
var __VLS_395 = __VLS_394.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_394), false));
var __VLS_397 = __VLS_396.slots.default;
var __VLS_398 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_399 = __VLS_asFunctionalComponent(__VLS_398, new __VLS_398({
    label: "归属品牌",
    prop: "brand",
}));
var __VLS_400 = __VLS_399.apply(void 0, __spreadArray([{
        label: "归属品牌",
        prop: "brand",
    }], __VLS_functionalComponentArgsRest(__VLS_399), false));
var __VLS_402 = __VLS_401.slots.default;
var __VLS_403 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_404 = __VLS_asFunctionalComponent(__VLS_403, new __VLS_403({
    modelValue: (__VLS_ctx.addForm.brand),
    placeholder: "输入归属品牌",
}));
var __VLS_405 = __VLS_404.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.brand),
        placeholder: "输入归属品牌",
    }], __VLS_functionalComponentArgsRest(__VLS_404), false));
// @ts-ignore
[addForm,];
var __VLS_401;
var __VLS_396;
var __VLS_408 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_409 = __VLS_asFunctionalComponent(__VLS_408, new __VLS_408({
    span: (12),
}));
var __VLS_410 = __VLS_409.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_409), false));
var __VLS_412 = __VLS_411.slots.default;
var __VLS_413 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_414 = __VLS_asFunctionalComponent(__VLS_413, new __VLS_413({
    label: "规格",
    prop: "spec",
}));
var __VLS_415 = __VLS_414.apply(void 0, __spreadArray([{
        label: "规格",
        prop: "spec",
    }], __VLS_functionalComponentArgsRest(__VLS_414), false));
var __VLS_417 = __VLS_416.slots.default;
var __VLS_418 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_419 = __VLS_asFunctionalComponent(__VLS_418, new __VLS_418({
    modelValue: (__VLS_ctx.addForm.spec),
    placeholder: "输入规格",
}));
var __VLS_420 = __VLS_419.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.spec),
        placeholder: "输入规格",
    }], __VLS_functionalComponentArgsRest(__VLS_419), false));
// @ts-ignore
[addForm,];
var __VLS_416;
var __VLS_411;
var __VLS_391;
var __VLS_423 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_424 = __VLS_asFunctionalComponent(__VLS_423, new __VLS_423({
    gutter: (20),
}));
var __VLS_425 = __VLS_424.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_424), false));
var __VLS_427 = __VLS_426.slots.default;
var __VLS_428 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_429 = __VLS_asFunctionalComponent(__VLS_428, new __VLS_428({
    span: (12),
}));
var __VLS_430 = __VLS_429.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_429), false));
var __VLS_432 = __VLS_431.slots.default;
var __VLS_433 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_434 = __VLS_asFunctionalComponent(__VLS_433, new __VLS_433({
    label: "类型",
    prop: "type",
}));
var __VLS_435 = __VLS_434.apply(void 0, __spreadArray([{
        label: "类型",
        prop: "type",
    }], __VLS_functionalComponentArgsRest(__VLS_434), false));
var __VLS_437 = __VLS_436.slots.default;
var __VLS_438 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_439 = __VLS_asFunctionalComponent(__VLS_438, new __VLS_438({
    modelValue: (__VLS_ctx.addForm.type),
    placeholder: "输入类型",
}));
var __VLS_440 = __VLS_439.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.type),
        placeholder: "输入类型",
    }], __VLS_functionalComponentArgsRest(__VLS_439), false));
// @ts-ignore
[addForm,];
var __VLS_436;
var __VLS_431;
var __VLS_443 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_444 = __VLS_asFunctionalComponent(__VLS_443, new __VLS_443({
    span: (12),
}));
var __VLS_445 = __VLS_444.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_444), false));
var __VLS_447 = __VLS_446.slots.default;
var __VLS_448 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_449 = __VLS_asFunctionalComponent(__VLS_448, new __VLS_448({
    label: "零售价",
    prop: "retailPrice",
}));
var __VLS_450 = __VLS_449.apply(void 0, __spreadArray([{
        label: "零售价",
        prop: "retailPrice",
    }], __VLS_functionalComponentArgsRest(__VLS_449), false));
var __VLS_452 = __VLS_451.slots.default;
var __VLS_453 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_454 = __VLS_asFunctionalComponent(__VLS_453, new __VLS_453({
    modelValue: (__VLS_ctx.addForm.retailPrice),
    placeholder: "输入零售价",
}));
var __VLS_455 = __VLS_454.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.retailPrice),
        placeholder: "输入零售价",
    }], __VLS_functionalComponentArgsRest(__VLS_454), false));
// @ts-ignore
[addForm,];
var __VLS_451;
var __VLS_446;
var __VLS_426;
var __VLS_458 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_459 = __VLS_asFunctionalComponent(__VLS_458, new __VLS_458({
    gutter: (20),
}));
var __VLS_460 = __VLS_459.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_459), false));
var __VLS_462 = __VLS_461.slots.default;
var __VLS_463 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_464 = __VLS_asFunctionalComponent(__VLS_463, new __VLS_463({
    span: (12),
}));
var __VLS_465 = __VLS_464.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_464), false));
var __VLS_467 = __VLS_466.slots.default;
var __VLS_468 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_469 = __VLS_asFunctionalComponent(__VLS_468, new __VLS_468({
    label: "折扣",
    prop: "discount",
}));
var __VLS_470 = __VLS_469.apply(void 0, __spreadArray([{
        label: "折扣",
        prop: "discount",
    }], __VLS_functionalComponentArgsRest(__VLS_469), false));
var __VLS_472 = __VLS_471.slots.default;
var __VLS_473 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_474 = __VLS_asFunctionalComponent(__VLS_473, new __VLS_473({
    modelValue: (__VLS_ctx.addForm.discount),
    placeholder: "输入折扣",
}));
var __VLS_475 = __VLS_474.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.discount),
        placeholder: "输入折扣",
    }], __VLS_functionalComponentArgsRest(__VLS_474), false));
// @ts-ignore
[addForm,];
var __VLS_471;
var __VLS_466;
var __VLS_478 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_479 = __VLS_asFunctionalComponent(__VLS_478, new __VLS_478({
    span: (12),
}));
var __VLS_480 = __VLS_479.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_479), false));
var __VLS_482 = __VLS_481.slots.default;
var __VLS_483 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_484 = __VLS_asFunctionalComponent(__VLS_483, new __VLS_483({
    label: "折扣价",
    prop: "discountPrice",
}));
var __VLS_485 = __VLS_484.apply(void 0, __spreadArray([{
        label: "折扣价",
        prop: "discountPrice",
    }], __VLS_functionalComponentArgsRest(__VLS_484), false));
var __VLS_487 = __VLS_486.slots.default;
var __VLS_488 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_489 = __VLS_asFunctionalComponent(__VLS_488, new __VLS_488({
    modelValue: (__VLS_ctx.addForm.discountPrice),
    placeholder: "输入折扣价",
}));
var __VLS_490 = __VLS_489.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.discountPrice),
        placeholder: "输入折扣价",
    }], __VLS_functionalComponentArgsRest(__VLS_489), false));
// @ts-ignore
[addForm,];
var __VLS_486;
var __VLS_481;
var __VLS_461;
var __VLS_493 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_494 = __VLS_asFunctionalComponent(__VLS_493, new __VLS_493({
    gutter: (20),
}));
var __VLS_495 = __VLS_494.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_494), false));
var __VLS_497 = __VLS_496.slots.default;
var __VLS_498 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_499 = __VLS_asFunctionalComponent(__VLS_498, new __VLS_498({
    span: (12),
}));
var __VLS_500 = __VLS_499.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_499), false));
var __VLS_502 = __VLS_501.slots.default;
var __VLS_503 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_504 = __VLS_asFunctionalComponent(__VLS_503, new __VLS_503({
    label: "特价",
    prop: "specialPrice",
}));
var __VLS_505 = __VLS_504.apply(void 0, __spreadArray([{
        label: "特价",
        prop: "specialPrice",
    }], __VLS_functionalComponentArgsRest(__VLS_504), false));
var __VLS_507 = __VLS_506.slots.default;
var __VLS_508 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_509 = __VLS_asFunctionalComponent(__VLS_508, new __VLS_508({
    modelValue: (__VLS_ctx.addForm.specialPrice),
    placeholder: "输入特价",
}));
var __VLS_510 = __VLS_509.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.specialPrice),
        placeholder: "输入特价",
    }], __VLS_functionalComponentArgsRest(__VLS_509), false));
// @ts-ignore
[addForm,];
var __VLS_506;
var __VLS_501;
var __VLS_513 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_514 = __VLS_asFunctionalComponent(__VLS_513, new __VLS_513({
    span: (12),
}));
var __VLS_515 = __VLS_514.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_514), false));
var __VLS_517 = __VLS_516.slots.default;
var __VLS_518 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_519 = __VLS_asFunctionalComponent(__VLS_518, new __VLS_518({
    label: "秒杀价",
    prop: "seckillPrice",
}));
var __VLS_520 = __VLS_519.apply(void 0, __spreadArray([{
        label: "秒杀价",
        prop: "seckillPrice",
    }], __VLS_functionalComponentArgsRest(__VLS_519), false));
var __VLS_522 = __VLS_521.slots.default;
var __VLS_523 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_524 = __VLS_asFunctionalComponent(__VLS_523, new __VLS_523({
    modelValue: (__VLS_ctx.addForm.seckillPrice),
    placeholder: "输入秒杀价",
}));
var __VLS_525 = __VLS_524.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.seckillPrice),
        placeholder: "输入秒杀价",
    }], __VLS_functionalComponentArgsRest(__VLS_524), false));
// @ts-ignore
[addForm,];
var __VLS_521;
var __VLS_516;
var __VLS_496;
var __VLS_528 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_529 = __VLS_asFunctionalComponent(__VLS_528, new __VLS_528({
    gutter: (20),
}));
var __VLS_530 = __VLS_529.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_529), false));
var __VLS_532 = __VLS_531.slots.default;
var __VLS_533 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_534 = __VLS_asFunctionalComponent(__VLS_533, new __VLS_533({
    span: (12),
}));
var __VLS_535 = __VLS_534.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_534), false));
var __VLS_537 = __VLS_536.slots.default;
var __VLS_538 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_539 = __VLS_asFunctionalComponent(__VLS_538, new __VLS_538({
    label: "入库时间",
    prop: "inStockDate",
}));
var __VLS_540 = __VLS_539.apply(void 0, __spreadArray([{
        label: "入库时间",
        prop: "inStockDate",
    }], __VLS_functionalComponentArgsRest(__VLS_539), false));
var __VLS_542 = __VLS_541.slots.default;
var __VLS_543 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_544 = __VLS_asFunctionalComponent(__VLS_543, new __VLS_543(__assign({ modelValue: (__VLS_ctx.addForm.inStockDate), type: "date", placeholder: "选择入库时间" }, { style: {} })));
var __VLS_545 = __VLS_544.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.addForm.inStockDate), type: "date", placeholder: "选择入库时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_544), false));
// @ts-ignore
[addForm,];
var __VLS_541;
var __VLS_536;
var __VLS_548 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_549 = __VLS_asFunctionalComponent(__VLS_548, new __VLS_548({
    span: (12),
}));
var __VLS_550 = __VLS_549.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_549), false));
var __VLS_552 = __VLS_551.slots.default;
var __VLS_553 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_554 = __VLS_asFunctionalComponent(__VLS_553, new __VLS_553({
    label: "库存",
    prop: "stock",
}));
var __VLS_555 = __VLS_554.apply(void 0, __spreadArray([{
        label: "库存",
        prop: "stock",
    }], __VLS_functionalComponentArgsRest(__VLS_554), false));
var __VLS_557 = __VLS_556.slots.default;
var __VLS_558 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_559 = __VLS_asFunctionalComponent(__VLS_558, new __VLS_558({
    modelValue: (__VLS_ctx.addForm.stock),
    modelModifiers: { number: true, },
    placeholder: "输入库存",
}));
var __VLS_560 = __VLS_559.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.stock),
        modelModifiers: { number: true, },
        placeholder: "输入库存",
    }], __VLS_functionalComponentArgsRest(__VLS_559), false));
// @ts-ignore
[addForm,];
var __VLS_556;
var __VLS_551;
var __VLS_531;
var __VLS_563 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_564 = __VLS_asFunctionalComponent(__VLS_563, new __VLS_563({
    gutter: (20),
}));
var __VLS_565 = __VLS_564.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_564), false));
var __VLS_567 = __VLS_566.slots.default;
var __VLS_568 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_569 = __VLS_asFunctionalComponent(__VLS_568, new __VLS_568({
    span: (12),
}));
var __VLS_570 = __VLS_569.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_569), false));
var __VLS_572 = __VLS_571.slots.default;
var __VLS_573 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_574 = __VLS_asFunctionalComponent(__VLS_573, new __VLS_573({
    label: "盘点数量",
    prop: "inventoryQuantity",
}));
var __VLS_575 = __VLS_574.apply(void 0, __spreadArray([{
        label: "盘点数量",
        prop: "inventoryQuantity",
    }], __VLS_functionalComponentArgsRest(__VLS_574), false));
var __VLS_577 = __VLS_576.slots.default;
var __VLS_578 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_579 = __VLS_asFunctionalComponent(__VLS_578, new __VLS_578({
    modelValue: (__VLS_ctx.addForm.inventoryQuantity),
    modelModifiers: { number: true, },
    placeholder: "输入盘点数量",
}));
var __VLS_580 = __VLS_579.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.inventoryQuantity),
        modelModifiers: { number: true, },
        placeholder: "输入盘点数量",
    }], __VLS_functionalComponentArgsRest(__VLS_579), false));
// @ts-ignore
[addForm,];
var __VLS_576;
var __VLS_571;
var __VLS_583 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_584 = __VLS_asFunctionalComponent(__VLS_583, new __VLS_583({
    span: (12),
}));
var __VLS_585 = __VLS_584.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_584), false));
var __VLS_587 = __VLS_586.slots.default;
var __VLS_588 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_589 = __VLS_asFunctionalComponent(__VLS_588, new __VLS_588({
    label: "报损数量",
    prop: "lossQuantity",
}));
var __VLS_590 = __VLS_589.apply(void 0, __spreadArray([{
        label: "报损数量",
        prop: "lossQuantity",
    }], __VLS_functionalComponentArgsRest(__VLS_589), false));
var __VLS_592 = __VLS_591.slots.default;
var __VLS_593 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_594 = __VLS_asFunctionalComponent(__VLS_593, new __VLS_593({
    modelValue: (__VLS_ctx.addForm.lossQuantity),
    modelModifiers: { number: true, },
    placeholder: "输入报损数量",
}));
var __VLS_595 = __VLS_594.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.lossQuantity),
        modelModifiers: { number: true, },
        placeholder: "输入报损数量",
    }], __VLS_functionalComponentArgsRest(__VLS_594), false));
// @ts-ignore
[addForm,];
var __VLS_591;
var __VLS_586;
var __VLS_566;
var __VLS_598 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_599 = __VLS_asFunctionalComponent(__VLS_598, new __VLS_598({
    label: "附加说明",
    prop: "description",
}));
var __VLS_600 = __VLS_599.apply(void 0, __spreadArray([{
        label: "附加说明",
        prop: "description",
    }], __VLS_functionalComponentArgsRest(__VLS_599), false));
var __VLS_602 = __VLS_601.slots.default;
var __VLS_603 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_604 = __VLS_asFunctionalComponent(__VLS_603, new __VLS_603({
    modelValue: (__VLS_ctx.addForm.description),
    placeholder: "输入附加说明",
    type: "textarea",
    rows: "3",
}));
var __VLS_605 = __VLS_604.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.addForm.description),
        placeholder: "输入附加说明",
        type: "textarea",
        rows: "3",
    }], __VLS_functionalComponentArgsRest(__VLS_604), false));
// @ts-ignore
[addForm,];
var __VLS_601;
var __VLS_269;
{
    var __VLS_608 = __VLS_264.slots.footer;
    var __VLS_609 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_610 = __VLS_asFunctionalComponent(__VLS_609, new __VLS_609(__assign({ 'onClick': {} })));
    var __VLS_611 = __VLS_610.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_610), false));
    var __VLS_613 = void 0;
    var __VLS_614 = void 0;
    var __VLS_615 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.addDialogVisible = false;
                // @ts-ignore
                [addDialogVisible,];
            } });
    var __VLS_616 = __VLS_612.slots.default;
    var __VLS_612;
    var __VLS_617 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_618 = __VLS_asFunctionalComponent(__VLS_617, new __VLS_617(__assign({ 'onClick': {} }, { type: "primary" })));
    var __VLS_619 = __VLS_618.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_618), false));
    var __VLS_621 = void 0;
    var __VLS_622 = void 0;
    var __VLS_623 = ({ click: {} },
        { onClick: (__VLS_ctx.handleSaveLossOrder) });
    var __VLS_624 = __VLS_620.slots.default;
    // @ts-ignore
    [handleSaveLossOrder,];
    var __VLS_620;
}
var __VLS_264;
/** @type {__VLS_StyleScopedClasses['loss-order-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-form']} */ ;
/** @type {__VLS_StyleScopedClasses['action-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['order-table']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination']} */ ;
/** @type {__VLS_StyleScopedClasses['total-info']} */ ;
/** @type {__VLS_StyleScopedClasses['add-form']} */ ;
// @ts-ignore
var __VLS_13 = __VLS_12, __VLS_271 = __VLS_270;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
